Open topic with navigation
You are here: Mirroring > Stopping, starting, pausing, or resuming mirroring
Stopping, starting, pausing, or resuming mirroring
You can stop, start, pause, or resume a mirror.
Command
MIRROR STOP
Description
Stops a mirror
Syntax
MIRror STOP <con_id | *>
Options
- con_id—Connection ID assigned to the source/target connection
- *—Specifies all connection IDs
Examples
Command
MIRROR START
Description
Initiates the mirror process
Syntax
MIRror START <con_id> [DIFFERENT [,NEWER]
,CHECKSUM | NOCHECKSUM] [ORPHANS |NOORPHANS]
[CALCulate | NOCALCulate] [CLEARRESTOREREQUIRED]
Options
-
con_id—Connection ID assigned to the source/target connection
- DIFFERENT—Mirrors only those files that are different based on the file date, time, and/or size
- NEWER—Mirrors only those files that are newer on the source than on the target
- CHECKSUM—Mirrors only those blocks that are different based on block checksum comparisons
- NOCHECKSUM—Does not perform a checksum comparison when mirroring files
- ORPHANS—Moves or deletes orphan files on the target
- NOORPHANS—Does not move or delete orphan files on the target
- CALCulate—Calculate the size of the replication set prior to mirroring
- NOCALCulate—Does not calculate the size of the replication set prior to mirroring
- CLEARRESTOREREQUIRED—Clears the restore required flag and initiates the mirror
Examples
- mirror start 1 different, newer
-
mir start 2 different, checksum orphans calc
Notes
The default settings for this command are noorphans and calculate.
Command
MIRROR PAUSE
Description
Pauses a mirror that is in progress
Syntax
MIRror PAUSE <con_id | *>
Options
-
con_id—Connection ID assigned to the source/target connection
- *—Specifies all connection IDs
Notes
-
mirror pause 1
- mir pause *
Command
MIRROR RESUME
Description
Resumes a paused mirror
Syntax
MIRror RESUME <con_id | *>
Options
-
con_id—Connection ID assigned to the source/target connection
- *—Specifies all connection IDs
Notes
-
mirror resume 1
- mir resume *